package com.miracle.java2110.service;

import com.github.pagehelper.PageInfo;
import com.miracle.java2110.common.PageVo;
import com.miracle.java2110.common.R;
import com.miracle.java2110.pojo.ServiceType;
import com.miracle.java2110.pojo.Serviced;

import java.util.List;
import java.util.Map;

public interface MyService {
    PageVo<ServiceType> selectAll(Map<String, Object> param);

    R addServiceType(ServiceType st);

    R deleteById(Integer id);

    R updateById(ServiceType st);

    PageVo<Serviced> selectAllService(Map<String, Object> param);

    R addService(Serviced s);

    R deleteServiceById(Integer id);

    R updateService(Serviced serviced);

    R deleteServiced(int[] array);
}
